package com.salt.core.log.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @Description
 * @Author salt
 * @Date 2023/4/14
 * @Version 1.0.1
 */
@Data
@Component
@ConfigurationProperties(prefix = "salt.log.kafka")
public class KafkaProperties implements Serializable {

    private static final long serialVersionUID = 1L;

    private String servers;
    private String topic;
    private Boolean operEnable;  // 是否开启操作日志
    private Boolean loginEnable;  // 是否开启登录注册日志

}
